* {
    margin: 0;
    padding: 0;
}

.w {
    width: 1220px;
    margin: auto;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.header {
    height: 42px;
    background-color: pink;
    margin: 30px auto;
}

.logo {
    float: left;
    width: 198px;
    height: 42px;
}

.nav {
    float: left;
    height: 42px;
    margin-left: 60px;
}

.nav ul li {
    float: left;
}

.nav ul li a {
    height: 42px;
    line-height: 42px;
    font-size: 18px;
    color: black;
    margin: 0 15px;
}

.nav ul li a:hover {
    border-bottom: 1px solid #00a4ff;
    color: #00a4ff;
}

.search {
    float: left;
    width: 412px;
    height: 42px;
    background-color: skyblue;
    margin-left: 50px;
}

.search input {
    width: 345px;
    height: 42px;
    border: 1px solid #00a4ff;
    border-right: 0;
    font-size: 14px;
    color: #bfbfbf;
    padding-left: 15px;
}